<?
	if($id == "") {
		$id = $dsfm_promotion->get_min();
	}

	$promotion = $dsfm_promotion->get_promotion($id);
	$promotion = $dsfm_localization->object($promotion, array("promotion","detail"));
	$tpl->assign("promotion", $promotion);

	$all_promotion = $dsfm_promotion->get_all_promotion();
	$all_promotion = $dsfm_localization->data($all_promotion, "promotion");
	$tpl->assign("all_promotion", $all_promotion);

	$tpl->draw("promotion");
?>